package com.ruoyi.hippocampus.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品对象 product
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品ID */
    private Long id;

    /** 产品价格 */
    @Excel(name = "产品价格")
    private BigDecimal price;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String name;

    /** 产品照片ID */
    @Excel(name = "产品照片ID")
    private Long photoId;

    /** 产品类型ID */
    @Excel(name = "产品类型ID")
    private Long typeId;

    /** 产品服装ID */
    @Excel(name = "产品服装ID")
    private Long costumeId;

    /** 产品描述 */
    @Excel(name = "产品描述")
    private String content;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhotoId(Long photoId) 
    {
        this.photoId = photoId;
    }

    public Long getPhotoId() 
    {
        return photoId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setCostumeId(Long costumeId) 
    {
        this.costumeId = costumeId;
    }

    public Long getCostumeId() 
    {
        return costumeId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("price", getPrice())
            .append("name", getName())
            .append("photoId", getPhotoId())
            .append("typeId", getTypeId())
            .append("costumeId", getCostumeId())
            .append("content", getContent())
            .toString();
    }
}
